<h1>Listing breeds</h1>

<table>
  <tr>
    <th>Com</th>
    <th>Code</th>
    <th>Name</th>
    <th>Series</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @breeds.each do |breed| %>
  <tr>
    <td><%= breed.com_id %></td>
    <td><%= breed.code %></td>
    <td><%= breed.name %></td>
    <td><%= breed.series %></td>
    <td><%= link_to 'Show', breed %></td>
    <td><%= link_to 'Edit', edit_breed_path(breed) %></td>
    <td><%= link_to 'Destroy', breed, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Breed', new_breed_path %>
